package geo.model.config
{
	import mx.rpc.events.FaultEvent;
	import mx.rpc.events.ResultEvent;
	import mx.rpc.http.HTTPService;

	/**
	 * Singleton class that isused to keep configuration data.
	 */
	public final class Config
	{
		
		
		public function Config(){
			
		}
		
		public static var HOST:String = "localhost";
		public static var PORT:String = "8080";
		public static var WPS_PATH:String = "geoserver/wps";
		public static var PROXY:String = "no";
		public static var MAX_RESULTS:String = "100";

		private static var _WPS_URL:String;
		
		public static function get WPS_URL():String {
			_WPS_URL = "http://" + HOST + ":" + PORT + "/" + WPS_PATH;
			return _WPS_URL;
		}
	}
}